//---------------------------------------------------------------------------

#ifndef SPR_RAIONH
#define SPR_RAIONH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxButtons.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "DBGridEh.hpp"
#include "DBGridEhGrouping.hpp"
#include "Fr_Adres.h"
#include "GridsEh.hpp"
#include <ActnList.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <Buttons.hpp>
#include <Mask.hpp>
//---------------------------------------------------------------------------
class TfrSPR_RAION : public TForm
{
__published:	// IDE-managed Components
	TPanel *pEdit;
	TcxGroupBox *gbEdit;
	TFrame_Adres *Frame_Adres1;
	TcxButton *btAdd;
	TcxButton *btDelete;
	TcxButton *btSave;
	TPanel *pTable;
	TcxGroupBox *gbTable;
	TDBGridEh *sgRAION;
	TPanel *pUPR;
	TActionList *actlst1;
	TAction *actAdd;
	TAction *actDelete;
	TAction *actSave;
	TIBCQuery *dsetSPR_RAION;
	TIBCDataSource *dsSPR_RAION;
	TDBLookupListBox *dlbRAION;
	TBitBtn *btnADD_RAION;
	TIBCQuery *dsetSPISOK_RAION;
	TIBCDataSource *dsSPISOK_RAION;
	TAction *actADD_RAION;
	TGroupBox *gbRAION;
	TAction *actEDIT_RAION;
	TAction *actDEL_RAION;
	TBitBtn *btnEDIT_RAION;
	TBitBtn *btnDEL_RAION;
	TAction *actSAVE_RAION;
	TLabel *lbl1;
	TLabel *lbl2;
	TDBEdit *dbeKOD_HC;
	TDBEdit *dbeNAIM_KOD;
	void __fastcall FormShow(TObject *Sender);
	void __fastcall actADD_RAIONExecute(TObject *Sender);
	void __fastcall actDEL_RAIONExecute(TObject *Sender);
	void __fastcall actSAVE_RAIONExecute(TObject *Sender);
	void __fastcall dlbRAIONDblClick(TObject *Sender);
	void __fastcall dlbRAIONClick(TObject *Sender);
	void __fastcall sgRAIONDblClick(TObject *Sender);
	void __fastcall actAddExecute(TObject *Sender);
	void __fastcall actSaveExecute(TObject *Sender);
	void __fastcall actDeleteExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
	__fastcall TfrSPR_RAION(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrSPR_RAION *frSPR_RAION;
//---------------------------------------------------------------------------
#endif
